#ifndef __FUNC_SYSTEM_H__
#define __FUNC_SYSTEM_H__

#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "cmsis_os2.h"
#include "main.h"
#include "Func_can.h"
#include "Func_485.h"
#include "mb.h"

#define __STM32_F103__          (103)
#define __STM32_F407__          (407)

#define __STM32_SERIES__        __STM32_F407__


struct System_Parameters{
  struct Can_Parameters *p_can_parameters;
  struct RS485_Parameters *p_rs485_parameters;
};

void Func_System_Task(void *pvParameters);
extern void prvvUARTTxReadyISR(void);
extern void prvvUARTRxISR(void);
extern void prvvTIMERExpiredISR( void );
extern int debug_eSndState;




#endif

